package com.regex.web.service.sys.impl;
import java.util.List;

import com.regex.web.dao.sys.IRoleMenuDao;
import com.regex.web.entity.sys.RoleMenuDTO;
import com.regex.web.service.sys.IRoleMenuService;
import com.regex.web.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class RoleMenuServiceImpl implements IRoleMenuService{
    @Autowired
    private IRoleMenuDao iRoleMenuDao;
    @Override
    public long getRoleMenuDTORowCount(Assist assist){
        return iRoleMenuDao.getRoleMenuDTORowCount(assist);
    }
    @Override
    public List<RoleMenuDTO> selectRoleMenuDTO(Assist assist){
        return iRoleMenuDao.selectRoleMenuDTO(assist);
    }
    @Override
    public RoleMenuDTO selectRoleMenuDTOByObj(RoleMenuDTO obj){
        return iRoleMenuDao.selectRoleMenuDTOByObj(obj);
    }
    @Override
    public RoleMenuDTO selectRoleMenuDTOById(Long id){
        return iRoleMenuDao.selectRoleMenuDTOById(id);
    }
    @Override
    public int insertRoleMenuDTO(RoleMenuDTO value){
        return iRoleMenuDao.insertRoleMenuDTO(value);
    }
    @Override
    public int insertNonEmptyRoleMenuDTO(RoleMenuDTO value){
        return iRoleMenuDao.insertNonEmptyRoleMenuDTO(value);
    }
    @Override
    public int insertRoleMenuDTOByBatch(List<RoleMenuDTO> value){
        return iRoleMenuDao.insertRoleMenuDTOByBatch(value);
    }
    @Override
    public int deleteRoleMenuDTOById(Long id){
        return iRoleMenuDao.deleteRoleMenuDTOById(id);
    }
    @Override
    public int deleteRoleMenuDTO(Assist assist){
        return iRoleMenuDao.deleteRoleMenuDTO(assist);
    }
    @Override
    public int updateRoleMenuDTOById(RoleMenuDTO enti){
        return iRoleMenuDao.updateRoleMenuDTOById(enti);
    }
    @Override
    public int updateRoleMenuDTO(RoleMenuDTO value, Assist assist){
        return iRoleMenuDao.updateRoleMenuDTO(value,assist);
    }
    @Override
    public int updateNonEmptyRoleMenuDTOById(RoleMenuDTO enti){
        return iRoleMenuDao.updateNonEmptyRoleMenuDTOById(enti);
    }
    @Override
    public int updateNonEmptyRoleMenuDTO(RoleMenuDTO value, Assist assist){
        return iRoleMenuDao.updateNonEmptyRoleMenuDTO(value,assist);
    }

    public IRoleMenuDao getIRoleMenuDao() {
        return this.iRoleMenuDao;
    }

    public void setIRoleMenuDao(IRoleMenuDao iRoleMenuDao) {
        this.iRoleMenuDao = iRoleMenuDao;
    }

}